package polymorphic;

/**
 * @ClassName Animals
 * @Description TODO
 * @Author hp
 * @Date 2021/6/15 16:34
 * @Version 1.0
 **/
public class Animals {
    public void  eat(){
        System.out.println("吃饭");
    }
    public void sleep(){
        System.out.println("睡觉");
    }
}
